package com.ecosoft.config;

public class GroupMarker {
	public GroupMarker(String name)
	{
		this.name = name;
	}
	private String name;

	public String getName() {
		return name;
	}

	@Override
	public boolean equals(Object obj) {
		if(obj instanceof GroupMarker)
		{
			if(this.name.equals(((GroupMarker)obj).getName()))
			{
		       return true;
			}
		}
		return false;
	}

	@Override
	public int hashCode() {
		return (GroupMarker.class.getName()+name).hashCode();
	}

	@Override
	public String toString() {
		return GroupMarker.class.getName()+name;
	}
}
